package com.smarthealthcare.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.smarthealthcare.project.domain.Project;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;

/**
 * 结果列表对象 result
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public class Result extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 检查状态 */
    @Excel(name = "检查状态")
    private Long status;

    /** 检查编号 */
    @Excel(name = "检查编号")
    private String cid;

    /** 问诊人信息(关联挂号人员信息) */
    @Excel(name = "问诊人信息(关联挂号人员信息)")
    private Long registerId;

    /** 检查科室(关联科室表id) */
    @Excel(name = "检查科室(关联科室表id)")
    private Long departmentId;

    /** 检查大夫(关联医生表id) */
    @Excel(name = "检查大夫(关联医生表id)")
    private Long dockerId;

    /** 检查项目(关联检查项目表id) */
    @Excel(name = "检查项目(关联检查项目表id)")
    private Long checkId;

    /** 检查费用 */
    @Excel(name = "检查费用")
    private Long money;

    /** 检查结果图片 */
    @Excel(name = "检查结果图片")
    private String img;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 逻辑删除 */
    private Integer del;
    /** 关联科室表 */
    @Excel(name = "关联科室表")
    private Department department;
    /** 关联医生表 */
    @Excel(name = "关联医生表")
    private Doctor docker;
    /** 关联检查项目表 */
    @Excel(name = "关联检查项目表")
    private Project project;
    /** 关联挂号人员信息表 */
    @Excel(name = "关联挂号人员信息表")
    private Register register;

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Doctor getDocker() {
        return docker;
    }

    public void setDocker(Doctor docker) {
        this.docker = docker;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public Register getRegister() {
        return register;
    }

    public void setRegister(Register register) {
        this.register = register;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCid(String cid) 
    {
        this.cid = cid;
    }

    public String getCid() 
    {
        return cid;
    }
    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDockerId(Long dockerId) 
    {
        this.dockerId = dockerId;
    }

    public Long getDockerId() 
    {
        return dockerId;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("cid", getCid())
            .append("registerId", getRegisterId())
            .append("departmentId", getDepartmentId())
            .append("dockerId", getDockerId())
            .append("checkId", getCheckId())
            .append("money", getMoney())
            .append("img", getImg())
            .append("time", getTime())
            .append("del", getDel())
            .toString();
    }
}
